package tgc.edu.tms.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

import tgc.edu.tms.custom.BaseEntity;
@Entity
public class TbclassClassroom{
	private Integer id;
	private Boolean isUsed;   //是否使用
	private Jcb jcb;
	private Classroom classroom;
	@ManyToOne
	public Jcb getJcb() {
		return jcb;
	}
	public void setJcb(Jcb jcb) {
		this.jcb = jcb;
	}
	@ManyToOne
	public Classroom getClassroom() {
		return classroom;
	}
	public void setClassroom(Classroom classroom) {
		this.classroom = classroom;
	}
	@Id  
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Boolean getIsUsed() {
		return isUsed;
	}
	public void setIsUsed(Boolean isUsed) {
		this.isUsed = isUsed;
	}
	public TbclassClassroom(Jcb jcb, Classroom classroom) {
		super();
		this.jcb = jcb;
		this.classroom = classroom;
	}
	public TbclassClassroom() {
		super();
	}
	public TbclassClassroom(Integer id, Boolean isUsed, Jcb jcb, Classroom classroom) {
		super();
		this.id = id;
		this.isUsed = isUsed;
		this.jcb = jcb;
		this.classroom = classroom;
	}
	public TbclassClassroom(Integer id, Jcb jcb, Classroom classroom) {
		super();
		this.id = id;
		this.jcb = jcb;
		this.classroom = classroom;
	}
	
	
}
